import http from "../server";

// 问卷 分页列表
export const getList = (params) => {
  return http.post("/enroll/getListForMobile", params, {
    headers: { "Content-Type": "multipart/form-data" },
  });
};
// 问卷 获取问卷题目详情
export const getDetail = (params) => {
  return http.post("/enroll/get", params);
};
// 提交问卷
export const submitEnroll = (params) => {
  return http.post("/enroll/fillingEnroll", params);
};
// 更新问卷访问量
export const updateUvEvery = (params) => {
  return http.post("/enroll/updateUvEvery", params);
};
// 小程序token验证
export const apiCheckToken = (params) => {
  return http.post("/enroll/checkToken", params);
};
// 获取C端用户答题详情
export const getFillingDetail = (params) => {
  return http.post("/enroll/getFillingDetail", params);
};
